<template>
      <tab-bar>
      <tab-bar-item path="/home" >
        <img src="~assets/img/tarbar/首页.svg" alt="" slot="item-icon">
        <img src="~assets/img/tarbar/首页(active).svg" alt="" slot="item-icon-active">
        <div slot="item-text">首页</div>
      </tab-bar-item>
      <tab-bar-item path="/category" >
        <img src="~assets/img/tarbar/分类.svg" alt="" slot="item-icon">
        <img src="~assets/img/tarbar/分类(active).svg" alt="" slot="item-icon-active">
        <div slot="item-text">分类</div>
      </tab-bar-item>
      <tab-bar-item path="/cart" >
        <img src="~assets/img/tarbar/购物袋.svg" alt="" slot="item-icon">
        <img src="~assets/img/tarbar/购物袋(active).svg" alt="" slot="item-icon-active">
        <div slot="item-text">购物车</div>
      </tab-bar-item>
      <tab-bar-item path="/Profile" >
        <img src="~assets/img/tarbar/我的.svg" alt="" slot="item-icon">
        <img src="~assets/img/tarbar/我的(active).svg" alt="" slot="item-icon-active">
        <div slot="item-text">我的</div>
      </tab-bar-item>
    </tab-bar>
</template>

<script>
import TabBar from 'components/common/tabbar/TabBar';
import TabBarItem from 'components/common/tabbar/TabBarItem';

export default {
  name: 'MainTabBar',
  components: {
    TabBar,
    TabBarItem
  }
}
</script>

<style>

</style>
